<extend name="Public/frame"/>
<block name="page_body">


    <include file="Public/header" />
        <div class="container">
            <div class="row">
                <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3 basic_profile">
                    <div class="profile_basic">
                        <table class="table">
                            <tr>
                                <td>
                                    用户名
                                </td>
                               <td>
                                    {$data['username']}
                                </td>
                                 </tr>
                                <tr>
                                <td>
                                    注册时间
                                </td>
                                <td>
                                    {$data['reg_time']}
                                </td>
                                  </tr>
                                <tr>
                               <td>
                                    注册ip
                                </td>
                                <td>
                                    {$data['reg_ip']}
                                </td>
                            </tr>
                        </table>

                    </div>
                </div>
                <div class="col-xs-12 col-sm-9 col-md-9 col-lg-9 cart_info">
                    <div class="product_list">
                    <table class="table">
                    <foreach name='data.cart' item="cart">
                    <tr>
                    <form action="#" mothod="post">
                        <input class="hidden" value="{$cart['product_id']}">
                        <div class="product">
                            <td>
                                <a href="{:U("Product")}">
                                    <img class="media-object" style="width:80px" src="{$cart['cover']}">
                                </a>
                            </td>
                            <td>
                                <div class="content" style="width:100%; height:80px;overflow:hidden;">
                                {$cart['content']}                                
                                </div>
                            </td>
                            <td>
                                    <div class="" >
                                        <div class="price">
                                            <b>{$cart['price']}<span class="badge">元</span></b>
                                        </div>
                                        <div class="buy">
                                            <button class="btn btn-primary" type="submit">购买</button>
                                        </div>
                                    </div>
                            </td>
                        </div><!-- end product -->
                    </form>
                    </tr>
                    </foreach>
                    </table>
                    </div>
                </div>
            </div><!-- end row -->
        </div><!-- end container -->


    <include file="Public/footer" />


</block>


